package com.dzt.androidframework.network.mobapi.lottery;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by M02323 on 2017/12/7.
 *
 * http://apicloud.mob.com/lottery/query?key=appkey&name=大乐透
 * http://apicloud.mob.com/lottery/list?key=appkey
 */

public interface LotteryService {
	@GET("lottery/query")
	Observable<Lottery> queryLottery(@Query("key") String key,
									 @Query("name") String name);

	@GET("lottery/list")
	Observable<LotteryType> queryLotteryList(@Query("key") String key);
}
